<template>
  <div class="container">
    <el-card class="box">
      <el-button class="button" :onclick="neps">公众监督员系统</el-button>
      <el-button class="button" :onclick="nepg">网格员系统</el-button>
      <el-button class="button" :onclick="nepm">系统管理员系统</el-button>
      <el-button class="button" :onclick="nepv">决策者系统</el-button>
    </el-card>
  </div>
</template>

<script setup>
import router from '@/router/index'
const neps = () => {
  router.push({ name: 'slogin' })
}

const nepg = () => {
  router.push({ name: 'glogin' })
}

const nepm = () => {
  router.push({ name: 'mlogin' })
}

const nepv = () => {
  router.push({ name: 'screen' })
}
</script>

<style scoped>
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  background-image: url('@/assets/images/neusoft.png');
  background-size: cover;
}

.box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 300px;
  height: 350px;
  margin-bottom: 100px;
  margin-left: 200px;
  padding: 20px;
  border-radius: 5px;
  background-color: white;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.button {
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
